#include <stdio.h>

int main() {
    int y, k, n;
    scanf("%d %d %d", &y, &k, &n);
    
    int x;
    int found = 0; // 标记是否找到符合条件的 x 值
    
    for (x = 1; x <= n - y; x++) {
        if ((x + y) % k == 0) {
            printf("%d ", x);
            found = 1;
        }
    }
    
    if (!found) {
        printf("-1");
    }
    
    return 0;
}
